<?php $this->load->view('common/header'); ?>
<?php $this->load->view('common/header-common'); ?>
<section id="translate">
	<div class="container well">	
		<div class="row-fluid">
			<div class="span8 offset2">
				<form action="<?php echo site_url("/user/forgetemail");?>" method="post" id="form-forgetemail">
					<fieldset>
						<legend>忘记邮箱</legend>
						<?php if (isset($error)) {?>
							<div class="alert">
		  						<a class="close" data-dismiss="alert">×</a>
		  						<strong>错误</strong> <?php echo $error;?>
							</div>
							<?php }?>
						<div class="form-group">
							<div class="control-group">
								<label for="oldusername" class="control-label">原家园账户用户名</label>
								<div class="controls">
									<input type="text" class="input-medium" value="<?php echo set_value("oldusername");?>" name="oldusername" id="oldusername">
									<div class="help-inline"><?php echo form_error('oldusername');?></div>
								</div>
							</div>
							<div class="controls-group">
								<label for="red_password" class="control-label">家园账户密码</label>
								<div class="controls">
									<input type="password" class="input-medium" value="<?php echo set_value("red_password");?>" name="red_password" id="red_password">
									<div class="help-inline"><?php echo form_error('red_password');?></div>
								</div>
							</div>
							<div class="form-actions">
								<button type="submit" class="btn btn-primary btn-medium">下一步</button>
							</div>
						</div>
					</fieldset>
				</form>
			</div>
		</div>
	</div>
</section>
<script type="text/javascript" src="<?php echo $this->config->item('public_path');?>js/bootstrapJS/bootstrap-validation.js"></script>
<script type="text/javascript">
	$(window).load(function(){
		$('#form-forgetemail').validation();
	});
</script>
<?php $this->load->view('common/footer'); ?>